package com.huxiu.net.model;

import com.google.gson.Gson;

/**
 * Created by caoyuanjing on 15/12/10.
 */
public class HuatiInfo {
    public Forum forum;
    public Thread thread;

    public class Forum {
        public String id;
        public String name;
        public String desc;
        public String pic_path;
        public int user_total;
        public int is_join;

        public String toString() {
            return new Gson().toJson(this);
        }
    }

    public class Thread {
        public String id;
        public String title;
        public String content;
        public String view_num;
        public String favorite_num;
        public String time;
        public String h5_url;
        public String share_url;
        public userinfo userinfo;
        public boolean is_zan;

        @Override
        public String toString() {
            return new Gson().toJson(this);
        }
    }

    public class userinfo {
        public String uid;
        public String username;
        public String avatar;

        @Override
        public String toString() {
            return new Gson().toJson(this);
        }
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}
